Problem Note 32498: The IMPORT procedure is incorrectly documented for SPSS files and STATA files
The PROC IMPORT documentation for SPSS files and STATA files has the following example code:
/* importing SPSS files into SAS */
proc import data=work.customer
file="&tmpdir.customer.sav"
dbms=spss replace;
run;
/* importing STATA files into SAS */
proc import data=work.customer
file="&tmpdir.customer.dta"
dbms=stata replace;
run;
For the code to run correctly, yoou need to change the DATA= option to the OUT= option.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows XP Professional | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Windows Vista | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The IMPORT procedure documentation for SPSS files and STATA files shows an incorrect option. Instead of the DATA= option, the example should show the OUT= option.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2008-06-25 09:46:14 |
Date Created: | 2008-06-19 14:55:33 |